/*
 * Copyright 2018 Zhongan.com All right reserved. This software is the
 * confidential and proprietary information of Zhongan.com ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with Zhongan.com.
 */

package com.yh.doing.strategy_parttern;

/**
 * TODO 类实现描述
 *
 * @author yanghui
 * @since 2018年7月11日 上午1:12:48
 */
public class Context {
    private IStrategy iStrategy;

    public Context(IStrategy iStrategy) {
        this.iStrategy = iStrategy;
    }

    public void opration(){
        this.iStrategy.opration();
    }
}
